package com.kl.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("staff")
@ApiModel(value="Staff对象", description="")
public class Staff implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工号")
    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "员工姓名")
    private String name;

    @ApiModelProperty(value = "别名")
    private String aliasName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "撒盐")
    private String salt;

    @ApiModelProperty(value = "部门(......)")
    private Integer department;

    @ApiModelProperty(value = "职位(1.运货员;2.普通员工;3管理员)")
    private Integer position;

    @ApiModelProperty(value = "基本工资")
    private Double wages;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "审核(1.审核通过, 2.没过)")
    private Integer audit;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "入职时间")
    private Date creationTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "工龄")
    private Integer workAge;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "头像")
    private String headImage;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "身份证号")
    private Integer idNumber;

    @ApiModelProperty(value = "出生时间")
    private Date birthday;

    @ApiModelProperty(value = "车辆对应id")
    private Long carId;

    @ApiModelProperty(value = "站点id")
    private String subordinateSite;


}
